import { TJshortcuts } from '@/utils/config'
export const formItems = [
  {
    filed: 'orderId',
    type: 'input',
    label: '订单编号',
    placeholder: '请输入订单编号',
    clearable: true
  },
  {
    filed: 'memberInfo',
    type: 'input',
    label: '会员信息',
    placeholder: '请输入会员姓名/手机号/卡号',
    clearable: true
  },
  {
    filed: 'payStatus',
    type: 'select',
    label: '订单状态',
    placeholder: '请选择订单状态',
    clearable: true,
    labelCode: 'name',
    options: [
      { value: '0', label: '待支付' },
      { value: '1', label: '超时未支付' },
      { value: '2', label: '取消支付' },
      { value: '3', label: '支付成功' },
      { value: '4', label: '退款中' },
      { value: '5', label: '退款成功' }
    ]
  },
  {
    filed: 'courseName',
    type: 'input',
    label: '课程名称',
    clearable: true
  },
  {
    filed: 'payMethod',
    type: 'select',
    label: '支付方式',
    placeholder: '请选择支付方式',
    clearable: true,
    options: []
  },
  {
    filed: 'courseType',
    type: 'select',
    label: '课程类型',
    clearable: true,
    options: [
      { label: '常规课', value: '1' },
      { label: '私教课', value: '4' },
      { label: '视频课', value: '6' }
    ]
  },
  {
    filed: 'Times',
    type: 'daterange',
    label: '下单时间',
    clearable: false,
    pickerOptions: {
      shortcuts: TJshortcuts
    }
  }

]
export const queryFormConfig = {
  formItems,
  online: true
}

